var e = require("../../../../common/vendor.js"), o = {
    props: {
        src: {
            type: String,
            default: ""
        },
        autoplay: {
            type: Boolean,
            default: !0
        }
    },
    data: function() {
        return {
            videoSrc: "",
            show: !1
        };
    },
    computed: {
        getSec: function() {
            return this.src || this.videoSrc;
        }
    },
    methods: {
        open: function(e) {
            this.videoSrc = e, this.$refs.popup.open();
        },
        close: function() {
            this.$refs.popup.close();
        },
        change: function(e) {
            this.show = e.show;
        }
    }
};

Array || e.resolveComponent("uv-popup")(), Math;

var t = e._export_sfc(o, [ [ "render", function(o, t, r, n, c, s) {
    return e.e({
        a: c.show
    }, c.show ? {
        b: s.getSec,
        c: r.autoplay
    } : {}, {
        d: e.sr("popup", "ca563a8b-0"),
        e: e.o(s.change)
    });
} ], [ "__scopeId", "data-v-ca563a8b" ] ]);

wx.createComponent(t);